package com.gton.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description: 读取北极星配置中心配置
 * @author: GuoTong
 * @createTime: 2022-11-12 19:45
 * @since JDK 1.8 OR 11
 **/

@Data
@Component
@ConfigurationProperties(prefix = "nacos.gateway.route")
public class ReadPolarisNaocsConfig {


    private String limit;

    /**
     * Description: 里面是复杂数据结构：采用实体类包装
     *
     * @author: GuoTong
     */
    private PolarisKeyName config;
}
